<?php
class DakaControl extends Control{
	//查询用户打卡详情
	public function search(){
		$user_id=$_SESSION['user_id'];
		$daka=new DakaModel();
		$daka->user_id=$user_id;
		$rows=$daka->search();
		$this->smarty->assign('rows',$rows);
		$this->smarty->display('search.html');
		
	}
}